<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box{
            height: 40px;
            border-top: 3px solid rgba(55, 0, 255, 0.815);
            border-bottom: 1px solid grey;
        }
        .box a{
            display: inline-block;
            width: 80px;
            height: 40px;
            color: black;
            text-decoration: none;
            text-align: center;
            line-height: 40pcx;
            font-size: 12px;
            line-height: 40px;
        }
        .box :hover{
            background-color: gray;
            color: rgb(78, 169, 255);
        }
    </style>
</head>
    <body>
        <div class="box">
            <a href="">新浪导航</a>
            <a href="">新浪导航</a>
            <a href="">新浪导航</a>
            <a href="">新浪导航</a>
        </div>
    </body>
</html>